home *** CD-ROM | disk | FTP | other *** search
/ Inside Indy 1993 / Inside Indy 1993.iso / demos / CHEM / ribbon / bin / pdb-hx-fit < prev    next >
Encoding:
Text File  |  1993-06-23  |  330 b   |  26 lines

  1. #!/bin/csh
  2.  
  3. set RibDir = ~ribbons
  4.  
  5. if( $#argv != 2 ) then
  6.     goto Usage
  7. endif
  8.  
  9. if( ! -e $1 ) then
  10.     echo " PDB file $1 does not exist. "
  11.     goto Usage
  12. endif
  13.  
  14. if( ! -e $2 ) then
  15.     echo " Helix range file $2 does not exist. "
  16.     goto Usage
  17. endif
  18.  
  19. $RibDir/fithx/bestfits $2 < $1
  20.  
  21. exit
  22.  
  23.  
  24. Usage:
  25.     echo " usage:  pdb-hx-fit  mol.pdb  hx.range"
  26.